﻿<UserControl x:Class="MouseExtender.Controls.UserControls.RemoveTabUC"
						 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
						 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
						 xmlns:common="clr-namespace:MouseExtender.Logic.Common"
						 Width="250" Loaded="UserControl_Loaded">
	<UserControl.Resources>
		<Style TargetType="RadioButton">
			<Setter Property="Foreground" Value="#FF333333"/>
			<Setter Property="Margin" Value="0,3,0,0"/>
		</Style>
	</UserControl.Resources>
	<StackPanel Margin="10">
		<RadioButton x:Name="rbRemoveAll" GroupName="RemoveOptions" IsChecked="True" Content="Delete items"/>
		<TextBlock Foreground="#FF333333" Margin="15,6,0,3">or</TextBlock>
		<RadioButton x:Name="rbRemoveTab" GroupName="RemoveOptions" Content="Move items to" Checked="RadioButton_Checked" Unchecked="RadioButton_Unchecked"/>
		<ComboBox x:Name="cbTabList" Margin="15,6,0,6" IsEnabled="False">
			<ComboBox.ItemTemplate>
				<DataTemplate>
					<ContentPresenter Content="{Binding Path=Name}"/>
				</DataTemplate>
			</ComboBox.ItemTemplate>
		</ComboBox>
		<StackPanel HorizontalAlignment="Right" Orientation="Horizontal" Margin="5,5,10,0">
			<Button IsDefault="True" Style="{StaticResource SettingsButtons}" Click="OK_Click">OK</Button>
			<Button Command="common:Commands.CancelPopup" IsCancel="True" Style="{StaticResource SettingsButtons}">Cancel</Button>
		</StackPanel>
	</StackPanel>
</UserControl>
